import { yxglIp, http } from '../../../Api/http'

//合同list
export const postSofContractFindContract = (data) => {
    const url = yxglIp + '/sof-contract/find/contract'
    return http(url, 'post', data)
}
//签约合同
export const putSofContractInsertContract = (data) => {
    const url = yxglIp + '/sof-contract/insert/contract'
    return http(url, 'put', data)
}
//执行合同
export const getSofContractExecuteContract = (data) => {
    const url = yxglIp + '/sof-contract/execute/contract'
    return http(url, 'get', data)
}
//收款计划
export const getSofContractFindCp = (data) => {
    const url = yxglIp + '/sof-contract/find/cp'
    return http(url, 'get', data)
}
//编辑收款计划
export const postSofContractUpdateCp = (data) => {
    const url = yxglIp + '/sof-contract/update/cp'
    return http(url, 'post', data)
}
//合同回显
export const getSofContractAnswer = (data) => {
    const url = yxglIp + '/sof-contract/answer'
    return http(url, 'get', data)
}
//合同回显
export const getSofContractFindDetailContract= (data) => {
    const url = yxglIp + '/sof-contract/find/detail/contract'
    return http(url, 'get', data)
}
//合同回显
export const postSofContractUpdateContract= (data) => {
    const url = yxglIp + '/sof-contract/update/contract'
    return http(url, 'post', data)
}